package com.yuyou.tas.report.mapper;

import com.yuyou.tas.service.api.report.entity.ExamModelQues;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ExamModelQuesMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ExamModelQues record);

    ExamModelQues selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ExamModelQues record);

    List<ExamModelQues> selectByOrganId(@Param(value = "organId") Long organId);

    int deleteByExamModelId(@Param(value = "examModelId") Long examModelId);

    List<ExamModelQues> findQuesByExamModelBlockIds(@Param(value = "examModelBlockIds")List<Long> examModelBlockIds);

    List<ExamModelQues> getByModelId(@Param(value = "modelId")Long modelId);
}